<template>
      <div id="animationContainer"></div>
</template>
<script lang="ts" setup>
import * as Cesium from 'cesium';
var clock = new Cesium.Clock();
var clockViewModel = new Cesium.ClockViewModel(clock);
var viewModel = new Cesium.AnimationViewModel(clockViewModel);


function tick() {
    clock.tick();
    requestAnimationFrame(tick);
}

onMounted(()=>{
    new Cesium.Animation('animationContainer', viewModel);
    tick()
})
</script>
<style lang="scss" scoped>
</style>